<ul id="feedPreview" class="nolist"><?php
foreach($xml->channel->item as $item) {
	$title = $text->truncate($item->title, 25);
	
	if($item->enclosure) {
		$itm = $html->link($title,$item->enclosure->url);
	} else {
		$itm = $html->link($title,$item->link);
	}
	
	echo <<<EOD
	<li><a href="/favorites/add/title:{$item->title}" class="subscribe" title="Add to favorites">&lowast;</a>$itm</li>
EOD;
}
?></ul>